Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 18, 2025

Bumps pytest-asyncio from 1.1.0 to 1.2.0.

Release notes

Sourced from pytest-asyncio's releases.

pytest-asyncio 1.2.0

1.2.0 - 2025-09-12

Added

  • --asyncio-debug CLI option and asyncio_debug configuration option to enable asyncio debug mode for the default event loop. (#980)
  • A pytest.UsageError for invalid configuration values of asyncio_default_fixture_loop_scope and asyncio_default_test_loop_scope. (#1189)
  • Compatibility with the Pyright type checker (#731)

Fixed

  • RuntimeError: There is no current event loop in thread 'MainThread' when any test unsets the event loop (such as when using asyncio.run and asyncio.Runner). (#1177)
  • Deprecation warning when decorating an asynchronous fixture with @pytest.fixture in [strict]{.title-ref} mode. The warning message now refers to the correct package. (#1198)

Notes for Downstream Packagers

  • Bump the minimum required version of tox to v4.28. This change is only relevant if you use the tox.ini file provided by pytest-asyncio to run tests.
  • Extend dependency on typing-extensions>=4.12 from Python<3.10 to Python<3.13.

pytest-asyncio 1.1.1

v1.1.1 - 2025-09-12

Notes for Downstream Packagers

- Addresses a build problem with setuptoos-scm >= 9 caused by invalid setuptools-scm configuration in pytest-asyncio. (#1192)

Commits
  • 0d3988f ci: Create GitHub release before publishing to PyPI.
  • 07c5a0b docs: Include orphaned news fragment in changelog.
  • be24582 chore: Prepare release of v1.2.0.
  • 7aeb296 docs: Streamline news fragments
  • 7b8311c ci: Fixes a bug that prevented SSH signature from being stripped from release...
  • 9d4c2bd docs: Add changelog entry for Pyright compatibility.
  • 94f6106 test: Added tests which assert that the event loop is reinstated if unset by ...
  • df61991 [pre-commit.ci] pre-commit autoupdate
  • f1f7941 Build(deps): Bump pytest from 8.4.1 to 8.4.2
  • c77d3d3 Build(deps): Bump twine from 6.1.0 to 6.2.0
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Important

Bumps pytest-asyncio from 1.1.0 to 1.2.0 in pyproject.toml, adding new features and fixes.

  • Dependency Update:
    • Bumps pytest-asyncio from 1.1.0 to 1.2.0 in pyproject.toml.
    • Adds --asyncio-debug CLI option and asyncio_debug config option for debug mode.
    • Introduces pytest.UsageError for invalid config values.
    • Fixes RuntimeError for missing event loop in main thread.
    • Resolves deprecation warning for async fixtures with @pytest.fixture.
    • Extends typing-extensions dependency to Python<3.13.

This description was created by Ellipsis for 2770a89. You can customize this summary. It will automatically update as commits are pushed.

Disclaimer: Experimental PR review

Greptile Summary

Updated On: 2025-09-18 05:11:16 UTC

This PR is a Dependabot-generated dependency update that bumps the pytest-asyncio development dependency from version 1.1.0 to 1.2.0. The change occurs in the pyproject.toml file where the version constraint is updated from ">=0.21.1,<1.2.0" to ">=0.21.1,<1.3.0" to accommodate the new version.

The pytest-asyncio library is a pytest plugin that enables testing of asynchronous code in Python. This update brings several important improvements and bug fixes to the development environment. The most significant fixes include resolving a RuntimeError: There is no current event loop in thread 'MainThread' that could occur when tests use asyncio.run() or asyncio.Runner, and improved deprecation warning messages for async fixtures in strict mode.

Additionally, version 1.2.0 introduces new debugging capabilities with the --asyncio-debug CLI option and asyncio_debug configuration option for enabling asyncio debug mode. The update also adds better compatibility with the Pyright type checker and improved error handling for invalid configuration values.

This change fits well within the Langfuse Python SDK codebase, which appears to have asynchronous functionality based on the presence of OpenTelemetry async components and the existing use of pytest-asyncio for testing. The version constraint update follows semantic versioning best practices by allowing patch and minor updates within the 1.2.x series while preventing potentially breaking changes from future major releases.

Confidence score: 5/5

  • This PR is extremely safe to merge with virtually no risk of causing issues
  • Score reflects that this is a minor version bump of a development-only dependency with well-documented bug fixes and improvements
  • No files require special attention as this is a single-line dependency version update

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Sep 18, 2025
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 file reviewed, no comments

Edit Code Review Bot Settings | Greptile

@dependabot dependabot bot force-pushed the dependabot/pip/pytest-asyncio-1.2.0 branch from 2770a89 to 283aa0d Compare September 19, 2025 05:08
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-asyncio-1.2.0 branch 3 times, most recently from ce093aa to 16bf90b Compare October 3, 2025 05:07
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-asyncio-1.2.0 branch 2 times, most recently from 2dff9fb to e6b8d6c Compare October 13, 2025 05:08
Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](pytest-dev/pytest-asyncio@v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-version: 1.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/pytest-asyncio-1.2.0 branch from e6b8d6c to 39bb5e3 Compare October 15, 2025 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant